package com.neuedu.security.service;

import com.neuedu.security.mapper.DataMapper;
import com.neuedu.security.model.DataModel;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class DataService {

    @Resource
    DataMapper dataMapper;

    public List<DataModel> getDatas() {
        return dataMapper.getDatas();
    }
}
